# coding=utf-8
print("==========异常情景==========")
# a = 10 / 0
# print(a)

# b = 4 + num*3
# print(b)

# c = 2 + '1'
# print(c)

print("==========异常处理==========")
# try:
#     a = 1 + 2
#     # a = 1 + 2 / 0
#     raise Exception('【手动抛出的异常】')
#     print(a)
# except:
#     print('出异常时执行：出异常了。。。')
#     raise
# else:
#     print('没有出异常时才会执行：并没出异常！')
# finally:
#     print('不管出没出异常都会执行这个finally代码块儿')

assert False

# https://www.bilibili.com/video/BV1f54y117gY?p=72&spm_id_from=pageDriver
